<div [formGroup]="group" [ngClass]="getClass('grid', 'control')">

    <p-colorPicker #pColorPicker
                   [format]="model.format || 'hex'"
                   [formControlName]="model.id"
                   [id]="id"
                   [inline]="model.inline"
                   [ngClass]="getClass('element','control')"
                   [tabindex]="model.tabIndex"
                   (onChange)="onChange($event)"></p-colorPicker>

</div>
